import 'package:built_collection/built_collection.dart';
import 'package:equatable/equatable.dart';
import 'package:mobile_app.core/core/application/models/app_navigator_page_model.dart';
import 'package:mobile_app.core/core/domain/entities/learning_content/lexical_item/lexical_item.dart';
import 'package:mobile_app.core/core/domain/utils/uuid_generator.dart';

class TrainingPageModel extends Equatable implements AppNavigatorPageModel {
  TrainingPageModel({
    String? id,
    required this.trainingLexicalItems,
  }) : id = id ?? UuidGenerator().generateUuid();

  @override
  final String id;

  final BuiltSet<LexicalItem> trainingLexicalItems;

  @override
  List<Object?> get props {
    return [
      id,
      trainingLexicalItems,
    ];
  }
}
